package cn.jbit.supermarker.dao;

import java.util.List;

import cn.jbit.supermarker.entity.Provider;


public interface ProviderDao {
		//查询供应商信息
		public List<Provider> getProviderList();
		//添加供应商信息
		public boolean addProvider(Provider provider);
		//修改供应商信息
		public boolean updateProviderl(Provider provider);
		//删除供应商信息
		public  boolean deleteProvider(int id);
		//获取到供应商信息id
		public Provider getProById(int id);
		//获得总记录数
		public int getTotalCount(String ProName);
		//分页显示供应商信息
		public List<Provider> getProPageList(int pageNo,int pageSize,String ProName);
}